import request from "../utils/request";
//获取所有的顶点信息
export const getlistcyp = (data) => {
    return request("/cyp", null,  'GET',data );
}
//修改危险区围栏
export const getupdatecypdanger = (data) => {
    return request("/cyp/add", data,  'POST' );
}
//修改警告区围栏
export const getupdatecypwarning = (data) => {
    return request("/cyp/addone", data,  'POST' );
}
//修改安全区围栏
export const getupdatecypsafe = (data) => {
    return request("/cyp/addtwo", data,  'POST' );
}
//删除所有围栏
export const getdeletecyp = (data) => {
    return request("/cyp/clear", data,  'POST' );
}

